#ifndef RENDEROBJECT_H
#define RENDEROBJECT_H

#include <GameGlobals.h>

struct GraphicData;
struct Transform;

struct RenderObject
{
	RenderObject(Transform* t, GraphicData* g);
	~RenderObject();

	void SetColor(unsigned i, float r, float g, float b, float a = 1.0f);

	//inline void SetColor(float r, float g, float b, float a = 1.0f)
	//{ color[0] = r; color[1] = g; color[2] = b; color[3] = a; }

	truth visible;
	std::vector< float* > colors;
	Transform* const transform;
	GraphicData* const gfx;
};


#endif